
#ifndef TOOLSELECTION_H
#define TOOLSELECTION_H

#include "editortool.h"

class ToolSelection : public EditorTool
{
public:
	ToolSelection();
	virtual ~ToolSelection();

	virtual void mousePress(const QPoint& p);
	virtual void mouseRelease(const QPoint& p);
	virtual void mouseMove(const QPoint& p);
	virtual QRect draw(QPainter* p);

private:
	bool m_pressed;
	QPoint m_startPoint;
	QPoint m_endPoint;
};

#endif
